Creating an object based on a function's parameter

join shbcf.ru